negotiator.boaframework.sharedagentstate.anac2011
Class BRAMAgentSAS

java.lang.Object
  extended by negotiator.boaframework.SharedAgentState
      extended by negotiator.boaframework.sharedagentstate.anac2011.BRAMAgentSAS

public class BRAMAgentSAS
extends SharedAgentState

This is the shared code of the acceptance condition and bidding strategy of ANAC 2011 BRAMAagent. The code was taken from the ANAC2011 BRAMAagent and adapted to work within the BOA framework.

Author:
Mark Hendrikx

Field Summary
 
Fields inherited from class negotiator.boaframework.SharedAgentState
NAME
 
Constructor Summary
BRAMAgentSAS(NegotiationSession negoSession)
           
 
Method Summary
 double getNewThreshold(Bid minBid, Bid maxBid)
          This function calculates the threshold.
 double getThreshold()
           
 
Methods inherited from class negotiator.boaframework.SharedAgentState
getName
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BRAMAgentSAS

public BRAMAgentSAS(NegotiationSession negoSession)
Method Detail

getThreshold

public double getThreshold()

getNewThreshold

public double getNewThreshold(Bid minBid,
                              Bid maxBid)
This function calculates the threshold. It takes into consideration the time that passed from the beginning of the game. As time goes by, the agent becoming more flexible to the offers that it is willing to accept.

Returns:
- the threshold